package com.mall.malllsearch.vo;

import lombok.Data;

import java.util.List;

/**
 * 封装页面所有可能传递过来的查询条件
 */
@Data
public class SearchParam {
    private String keyword;//页面传来的搜索关键字
    private String catalogId;//分类Id

    /**
     * sort = saleCount_asc/desc
     * sort = skuPrice_asc/desc
     * sort = hotScore_asc/desc
     */
    private String sort;

    private Integer hasStock;//是否显示有货
    private String skuPrice;//价格区间查询
    private List<Long> brandId;//按照品牌查询
    private List<String> attrs;//按照属性进行筛选
    private Integer pageNum=1;//页码
    private String _queryString;//原生的所有查询条件

}
